# Python file will add two { } at the start and end and remove  lines
# if __name__ == '__main__':
#    print Attributes

# This is the template for .tdd file. Make changes in this file.
# A changed version of it converted to .tdd format and input to fmpp in tdd/src/data directory

#Author in the copyright notice
Author="Raman Rawat"
#Workspace"name"
Workspace="HAPForayWS"
#Framework string" Frameworls created will be TriaGram + Framework + (Interfaces, Fw, UIFw)
# e.g for Framework="MechMod", CAAMechModInterfaces, CAAMechModFw, CAAMechModUIFw 
Framework="GeoPrep"
#All files/dir will start from this Triagram
TriaGram="HAP"
# File "name"s will be $Triagram-X-$Prefix - where X is I,E or ""
Prefix="Fiz"
SuperType="GSMGeom"
#Late Type String -  In Catalog it will be $TriaGram + $Prefix + $LateType
LateType="CATOsmStyle"

# All attribues in the catalog will be prepended with $TriaGram + $Prefix
Attributes=[
{"name":"style"			, "type":"tklist_component"			, "facet":"sp_OUT"	, "list":"y" , "ui":"",  "data":[]},
{"name":"font_name"			, "type":"tk_string"			, "facet":"sp_IN"	, "list":"n" , "ui":"",  "data":[]},
{"name":"font_size"			, "type":"tk_double"			, "facet":"sp_OUT"	, "list":"n" , "ui":"",  "data":[]},
{"name":"underline"			, "type":"tk_boolean"			, "facet":"sp_NEUTRAL"	, "list":"n" , "ui":"",  "data":[]},
{"name":"background"			, "type":"tk_integer"			, "facet":"sp_OUT"	, "list":"n" , "ui":"",  "data":[]},
{"name":"foreground"			, "type":"tk_integer"			, "facet":"sp_OUT"	, "list":"n" , "ui":"",  "data":[]},
]                                                                                          

#Interfaces to implement. All interfaces have CATPrepended to them
# Implementation of CATIMechanicalProperties will produce file "name" = TriaGram + "E" + Prefix + LateType + Interfaces.postFix
Interfaces=[
	{"name":"IMechanicalProperties"	, "postFix":"MechProp" , "baseClass":"", "dir":"PublicInterfaces"},
	{"name":"I3DBehaviour"			, "postFix":"3DBehav" ,"baseClass":"", "dir":"PublicInterfaces"},
	{"name":"IBuild				", "postFix":"Build" ,"baseClass":"", "dir":"LocalInterfaces"},
	{"name":"ICCPable			", "postFix":"CCPable" ,"baseClass":"", "dir":"LocalInterfaces"},
	{"name":"IMechanicalCCP"	 , "postFix":"MechCCP" ,"baseClass":"", "dir":"LocalInterfaces"},
	{"name":"IReplace 			", "postFix":"Replace" ,"baseClass":"CATSpecReplaceExt", "dir":"LocalInterfaces"},
	{"name":"IAttrBehavior 		", "postFix":"AttrBehav" ,"baseClass":"", "dir":"LocalInterfaces"},
	{"name":"IInputDescription 	", "postFix":"InputDesc" ,"baseClass":"", "dir":"LocalInterfaces"},
	{"name":"INavigateObject	", "postFix":"NavigateObject" ,"baseClass":"", "dir":"LocalInterfaces"},
	{"name":"IEdit				", "postFix":"Edit", "baseClass":"CATExtIEdit", "dir":"LocalInterfaces"},
	{"name":"IIcon				", "postFix":"Icon", "baseClass":"", "dir":"LocalInterfaces"},
	{"name":"IContextualSubMenu	", "postFix":"CtxSubMenu", "baseClass":"", "dir":"LocalInterfaces"},
	{"name":"IContextualMenu 	", "postFix":"CtxMenu", "baseClass":"CATExtIContextualMenu ", "dir":"LocalInterfaces"},
]

#don't change the following lines
UuidCPP="4c56b438-4f32-472e-855c-c4c66221b811"
UuidIID="{ 0x4c56b438, 0x4f32, 0x472e, { 0x85, 0x5c, 0xc4, 0xc6, 0x62, 0x21, 0xb8, 0x11} }"
UuidFactoryCPP="f8050bba-ac09-4bde-9178-bcddc17ed483"
UuidFactoryIID="{ 0xf8050bba, 0xac09, 0x4bde, { 0x91, 0x78, 0xbc, 0xdd, 0xc1, 0x7e, 0xd4, 0x83} }"
UuidIDLCPP="7901f737-22f2-4812-80fe-d0aa241829e5"
UuidIDLIID="{ 0x7901f737, 0x22f2, 0x4812, { 0x80, 0xfe, 0xd0, 0xaa, 0x24, 0x18, 0x29, 0xe5} }"
UuidIDLFactoryCPP="84f6b32c-e8fe-4594-9e87-bdcdb572024d"
UuidIDLFactoryIID="{ 0x84f6b32c, 0xe8fe, 0x4594, { 0x9e, 0x87, 0xbd, 0xcd, 0xb5, 0x72, 0x02, 0x4d} }"
UuidTypeLibCPP="81e7cbf2-60c2-4849-be59-9ea90e5dab97"
UuidTypeLibIID="{ 0x81e7cbf2, 0x60c2, 0x4849, { 0xbe, 0x59, 0x9e, 0xa9, 0x0e, 0x5d, 0xab, 0x97} }"

########

if __name__ == '__main__':
    print Attributes
